package ylsb.model;

import java.util.ArrayList;
import java.util.List;

public class YltpHaocaiduibiaoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public YltpHaocaiduibiaoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNull() {
            addCriterion("xiangmuid is null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIsNotNull() {
            addCriterion("xiangmuid is not null");
            return (Criteria) this;
        }

        public Criteria andXiangmuidEqualTo(String value) {
            addCriterion("xiangmuid =", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotEqualTo(String value) {
            addCriterion("xiangmuid <>", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThan(String value) {
            addCriterion("xiangmuid >", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidGreaterThanOrEqualTo(String value) {
            addCriterion("xiangmuid >=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThan(String value) {
            addCriterion("xiangmuid <", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLessThanOrEqualTo(String value) {
            addCriterion("xiangmuid <=", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidLike(String value) {
            addCriterion("xiangmuid like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotLike(String value) {
            addCriterion("xiangmuid not like", value, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidIn(List<String> values) {
            addCriterion("xiangmuid in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotIn(List<String> values) {
            addCriterion("xiangmuid not in", values, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidBetween(String value1, String value2) {
            addCriterion("xiangmuid between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andXiangmuidNotBetween(String value1, String value2) {
            addCriterion("xiangmuid not between", value1, value2, "xiangmuid");
            return (Criteria) this;
        }

        public Criteria andMingchengIsNull() {
            addCriterion("mingcheng is null");
            return (Criteria) this;
        }

        public Criteria andMingchengIsNotNull() {
            addCriterion("mingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andMingchengEqualTo(String value) {
            addCriterion("mingcheng =", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengNotEqualTo(String value) {
            addCriterion("mingcheng <>", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengGreaterThan(String value) {
            addCriterion("mingcheng >", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengGreaterThanOrEqualTo(String value) {
            addCriterion("mingcheng >=", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengLessThan(String value) {
            addCriterion("mingcheng <", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengLessThanOrEqualTo(String value) {
            addCriterion("mingcheng <=", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengLike(String value) {
            addCriterion("mingcheng like", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengNotLike(String value) {
            addCriterion("mingcheng not like", value, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengIn(List<String> values) {
            addCriterion("mingcheng in", values, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengNotIn(List<String> values) {
            addCriterion("mingcheng not in", values, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengBetween(String value1, String value2) {
            addCriterion("mingcheng between", value1, value2, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andMingchengNotBetween(String value1, String value2) {
            addCriterion("mingcheng not between", value1, value2, "mingcheng");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNull() {
            addCriterion("guige is null");
            return (Criteria) this;
        }

        public Criteria andGuigeIsNotNull() {
            addCriterion("guige is not null");
            return (Criteria) this;
        }

        public Criteria andGuigeEqualTo(String value) {
            addCriterion("guige =", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotEqualTo(String value) {
            addCriterion("guige <>", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThan(String value) {
            addCriterion("guige >", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeGreaterThanOrEqualTo(String value) {
            addCriterion("guige >=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThan(String value) {
            addCriterion("guige <", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLessThanOrEqualTo(String value) {
            addCriterion("guige <=", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeLike(String value) {
            addCriterion("guige like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotLike(String value) {
            addCriterion("guige not like", value, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeIn(List<String> values) {
            addCriterion("guige in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotIn(List<String> values) {
            addCriterion("guige not in", values, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeBetween(String value1, String value2) {
            addCriterion("guige between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andGuigeNotBetween(String value1, String value2) {
            addCriterion("guige not between", value1, value2, "guige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengIsNull() {
            addCriterion("zhucezhengmingcheng is null");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengIsNotNull() {
            addCriterion("zhucezhengmingcheng is not null");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengEqualTo(String value) {
            addCriterion("zhucezhengmingcheng =", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengNotEqualTo(String value) {
            addCriterion("zhucezhengmingcheng <>", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengGreaterThan(String value) {
            addCriterion("zhucezhengmingcheng >", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengGreaterThanOrEqualTo(String value) {
            addCriterion("zhucezhengmingcheng >=", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengLessThan(String value) {
            addCriterion("zhucezhengmingcheng <", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengLessThanOrEqualTo(String value) {
            addCriterion("zhucezhengmingcheng <=", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengLike(String value) {
            addCriterion("zhucezhengmingcheng like", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengNotLike(String value) {
            addCriterion("zhucezhengmingcheng not like", value, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengIn(List<String> values) {
            addCriterion("zhucezhengmingcheng in", values, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengNotIn(List<String> values) {
            addCriterion("zhucezhengmingcheng not in", values, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengBetween(String value1, String value2) {
            addCriterion("zhucezhengmingcheng between", value1, value2, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengmingchengNotBetween(String value1, String value2) {
            addCriterion("zhucezhengmingcheng not between", value1, value2, "zhucezhengmingcheng");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeIsNull() {
            addCriterion("zhucezhengguige is null");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeIsNotNull() {
            addCriterion("zhucezhengguige is not null");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeEqualTo(String value) {
            addCriterion("zhucezhengguige =", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeNotEqualTo(String value) {
            addCriterion("zhucezhengguige <>", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeGreaterThan(String value) {
            addCriterion("zhucezhengguige >", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeGreaterThanOrEqualTo(String value) {
            addCriterion("zhucezhengguige >=", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeLessThan(String value) {
            addCriterion("zhucezhengguige <", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeLessThanOrEqualTo(String value) {
            addCriterion("zhucezhengguige <=", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeLike(String value) {
            addCriterion("zhucezhengguige like", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeNotLike(String value) {
            addCriterion("zhucezhengguige not like", value, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeIn(List<String> values) {
            addCriterion("zhucezhengguige in", values, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeNotIn(List<String> values) {
            addCriterion("zhucezhengguige not in", values, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeBetween(String value1, String value2) {
            addCriterion("zhucezhengguige between", value1, value2, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhengguigeNotBetween(String value1, String value2) {
            addCriterion("zhucezhengguige not between", value1, value2, "zhucezhengguige");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoIsNull() {
            addCriterion("zhucezhenghao is null");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoIsNotNull() {
            addCriterion("zhucezhenghao is not null");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoEqualTo(String value) {
            addCriterion("zhucezhenghao =", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoNotEqualTo(String value) {
            addCriterion("zhucezhenghao <>", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoGreaterThan(String value) {
            addCriterion("zhucezhenghao >", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoGreaterThanOrEqualTo(String value) {
            addCriterion("zhucezhenghao >=", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoLessThan(String value) {
            addCriterion("zhucezhenghao <", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoLessThanOrEqualTo(String value) {
            addCriterion("zhucezhenghao <=", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoLike(String value) {
            addCriterion("zhucezhenghao like", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoNotLike(String value) {
            addCriterion("zhucezhenghao not like", value, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoIn(List<String> values) {
            addCriterion("zhucezhenghao in", values, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoNotIn(List<String> values) {
            addCriterion("zhucezhenghao not in", values, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoBetween(String value1, String value2) {
            addCriterion("zhucezhenghao between", value1, value2, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andZhucezhenghaoNotBetween(String value1, String value2) {
            addCriterion("zhucezhenghao not between", value1, value2, "zhucezhenghao");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIsNull() {
            addCriterion("shengchanchangjia is null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIsNotNull() {
            addCriterion("shengchanchangjia is not null");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaEqualTo(String value) {
            addCriterion("shengchanchangjia =", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotEqualTo(String value) {
            addCriterion("shengchanchangjia <>", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaGreaterThan(String value) {
            addCriterion("shengchanchangjia >", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaGreaterThanOrEqualTo(String value) {
            addCriterion("shengchanchangjia >=", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLessThan(String value) {
            addCriterion("shengchanchangjia <", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLessThanOrEqualTo(String value) {
            addCriterion("shengchanchangjia <=", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaLike(String value) {
            addCriterion("shengchanchangjia like", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotLike(String value) {
            addCriterion("shengchanchangjia not like", value, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaIn(List<String> values) {
            addCriterion("shengchanchangjia in", values, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotIn(List<String> values) {
            addCriterion("shengchanchangjia not in", values, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaBetween(String value1, String value2) {
            addCriterion("shengchanchangjia between", value1, value2, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andShengchanchangjiaNotBetween(String value1, String value2) {
            addCriterion("shengchanchangjia not between", value1, value2, "shengchanchangjia");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiIsNull() {
            addCriterion("jijiadanwei is null");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiIsNotNull() {
            addCriterion("jijiadanwei is not null");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiEqualTo(String value) {
            addCriterion("jijiadanwei =", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiNotEqualTo(String value) {
            addCriterion("jijiadanwei <>", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiGreaterThan(String value) {
            addCriterion("jijiadanwei >", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiGreaterThanOrEqualTo(String value) {
            addCriterion("jijiadanwei >=", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiLessThan(String value) {
            addCriterion("jijiadanwei <", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiLessThanOrEqualTo(String value) {
            addCriterion("jijiadanwei <=", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiLike(String value) {
            addCriterion("jijiadanwei like", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiNotLike(String value) {
            addCriterion("jijiadanwei not like", value, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiIn(List<String> values) {
            addCriterion("jijiadanwei in", values, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiNotIn(List<String> values) {
            addCriterion("jijiadanwei not in", values, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiBetween(String value1, String value2) {
            addCriterion("jijiadanwei between", value1, value2, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andJijiadanweiNotBetween(String value1, String value2) {
            addCriterion("jijiadanwei not between", value1, value2, "jijiadanwei");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaIsNull() {
            addCriterion("caigoujia is null");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaIsNotNull() {
            addCriterion("caigoujia is not null");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaEqualTo(String value) {
            addCriterion("caigoujia =", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaNotEqualTo(String value) {
            addCriterion("caigoujia <>", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaGreaterThan(String value) {
            addCriterion("caigoujia >", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaGreaterThanOrEqualTo(String value) {
            addCriterion("caigoujia >=", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaLessThan(String value) {
            addCriterion("caigoujia <", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaLessThanOrEqualTo(String value) {
            addCriterion("caigoujia <=", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaLike(String value) {
            addCriterion("caigoujia like", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaNotLike(String value) {
            addCriterion("caigoujia not like", value, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaIn(List<String> values) {
            addCriterion("caigoujia in", values, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaNotIn(List<String> values) {
            addCriterion("caigoujia not in", values, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaBetween(String value1, String value2) {
            addCriterion("caigoujia between", value1, value2, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andCaigoujiaNotBetween(String value1, String value2) {
            addCriterion("caigoujia not between", value1, value2, "caigoujia");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNull() {
            addCriterion("shiyongkeshi is null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIsNotNull() {
            addCriterion("shiyongkeshi is not null");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiEqualTo(String value) {
            addCriterion("shiyongkeshi =", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotEqualTo(String value) {
            addCriterion("shiyongkeshi <>", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThan(String value) {
            addCriterion("shiyongkeshi >", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiGreaterThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi >=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThan(String value) {
            addCriterion("shiyongkeshi <", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLessThanOrEqualTo(String value) {
            addCriterion("shiyongkeshi <=", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiLike(String value) {
            addCriterion("shiyongkeshi like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotLike(String value) {
            addCriterion("shiyongkeshi not like", value, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiIn(List<String> values) {
            addCriterion("shiyongkeshi in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotIn(List<String> values) {
            addCriterion("shiyongkeshi not in", values, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiBetween(String value1, String value2) {
            addCriterion("shiyongkeshi between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andShiyongkeshiNotBetween(String value1, String value2) {
            addCriterion("shiyongkeshi not between", value1, value2, "shiyongkeshi");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaIsNull() {
            addCriterion("pingtaibianma is null");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaIsNotNull() {
            addCriterion("pingtaibianma is not null");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaEqualTo(String value) {
            addCriterion("pingtaibianma =", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaNotEqualTo(String value) {
            addCriterion("pingtaibianma <>", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaGreaterThan(String value) {
            addCriterion("pingtaibianma >", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaGreaterThanOrEqualTo(String value) {
            addCriterion("pingtaibianma >=", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaLessThan(String value) {
            addCriterion("pingtaibianma <", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaLessThanOrEqualTo(String value) {
            addCriterion("pingtaibianma <=", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaLike(String value) {
            addCriterion("pingtaibianma like", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaNotLike(String value) {
            addCriterion("pingtaibianma not like", value, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaIn(List<String> values) {
            addCriterion("pingtaibianma in", values, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaNotIn(List<String> values) {
            addCriterion("pingtaibianma not in", values, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaBetween(String value1, String value2) {
            addCriterion("pingtaibianma between", value1, value2, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andPingtaibianmaNotBetween(String value1, String value2) {
            addCriterion("pingtaibianma not between", value1, value2, "pingtaibianma");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNull() {
            addCriterion("ordernumber is null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIsNotNull() {
            addCriterion("ordernumber is not null");
            return (Criteria) this;
        }

        public Criteria andOrdernumberEqualTo(Integer value) {
            addCriterion("ordernumber =", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotEqualTo(Integer value) {
            addCriterion("ordernumber <>", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThan(Integer value) {
            addCriterion("ordernumber >", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("ordernumber >=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThan(Integer value) {
            addCriterion("ordernumber <", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberLessThanOrEqualTo(Integer value) {
            addCriterion("ordernumber <=", value, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberIn(List<Integer> values) {
            addCriterion("ordernumber in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotIn(List<Integer> values) {
            addCriterion("ordernumber not in", values, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber between", value1, value2, "ordernumber");
            return (Criteria) this;
        }

        public Criteria andOrdernumberNotBetween(Integer value1, Integer value2) {
            addCriterion("ordernumber not between", value1, value2, "ordernumber");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}